package net.sf.rose.jdbc.bean;

import net.sf.rose.jdbc.bean.annotation.Column;
import net.sf.rose.jdbc.bean.annotation.Table;
import net.sf.rose.jdbc.bean.annotation.Type;

/**
 * 类说明：数据权限明细表
 * 
 * @author 作者 fgg047 E-mail: 9110530@qq.com
 * @version 创建时间：2025-05-10
 */
@Table(name = "ADMIN_DATA_AUTHOR_DETAIL", description = "数据权限明细表")
public class DataAuthorDetail {

    @Column(name = "DETAIL_ID", pk = true, type = Type.定长文本, description = "明细编号", canNull = false, size = 32, policy = "UUID")
    private String detailID = null;

    @Column(name = "DATA_ID", type = Type.定长文本, description = "编号", canNull = false, size = 32)
    private String dataID = null;

    @Column(name = "MENU_ID", type = Type.变长文本, description = "菜单编号", canNull = false, size = 32)
    private String menuID = null;

    @Column(name = "USER_ID", type = Type.变长文本, description = "用户编号", size = 32)
    private String userID = null;

    @Column(name = "ROLE_ID", type = Type.变长文本, description = "角色编号", size = 32)
    private String roleID = null;

    /** 多个值之间用逗号隔开 */
    @Column(name = "AUTHOR_VALUE", type = Type.变长文本, description = "授权值", size = 500)
    private String authorValue = null;

    public String getDetailID() {
        return detailID;
    }

    public void setDetailID(String detailID) {
        this.detailID = detailID;
    }

    public String getRoleID() {
        return roleID;
    }

    public void setRoleID(String roleID) {
        this.roleID = roleID;
    }

    public String getAuthorValue() {
        return authorValue;
    }

    public void setAuthorValue(String authorValue) {
        this.authorValue = authorValue;
    }

    public String getMenuID() {
        return menuID;
    }

    public void setMenuID(String menuID) {
        this.menuID = menuID;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getDataID() {
        return dataID;
    }

    public void setDataID(String dataID) {
        this.dataID = dataID;
    }

}
